package com.maker.generator.entity;

import java.io.Serializable;
import java.util.List;
/**
 * 元表
 * @author rainbow
 *
 */
public class MetaGenTable implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6513691281045792101L;
	public static final String CFG_KEY_PREFIX = "table_prefix";
	public static final String CFG_KEY_COMMENT = "table_comment";
	public static final String CFG_KEY_WORKSPACE = "table_workspace";
	public static final String CFG_KEY_CE = "table_character_Encoding";
	private Long id;
	/**
	 * 表名
	 */
	private String tableName;
	/**
	 * 表空间名
	 */
	private String tableWorkSpace;
	/**
	 * 字符集编码
	 */
	private String characterEncoding;
	
	/**
	 * 表注释
	 */
	private String tableComment;
	/**
	 * 数据库信息
	 */
	private MetaGenDBInfo genDBInfo;
	/**
	 * 表字段集合
	 */
	private List<MetaGenField> genFields;
	/**
	 * 用于元表对象时，便于复制。
	 */
	private String generatedSql;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	
	public String getTableWorkSpace() {
		return tableWorkSpace;
	}
	public void setTableWorkSpace(String tableWorkSpace) {
		this.tableWorkSpace = tableWorkSpace;
	}
	public String getTableComment() {
		return tableComment;
	}
	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}
	public MetaGenDBInfo getGenDBInfo() {
		return genDBInfo;
	}
	public void setGenDBInfo(MetaGenDBInfo genDBInfo) {
		this.genDBInfo = genDBInfo;
	}
	public List<MetaGenField> getGenFields() {
		return genFields;
	}
	public void setGenFields(List<MetaGenField> genFields) {
		this.genFields = genFields;
	}
	public String getCharacterEncoding() {
		return characterEncoding;
	}
	public void setCharacterEncoding(String characterEncoding) {
		this.characterEncoding = characterEncoding;
	}
	public String getGeneratedSql() {
		return generatedSql;
	}
	public void setGeneratedSql(String generatedSql) {
		this.generatedSql = generatedSql;
	}
	
	
	
	
	
}
